//
//							Platform.h
//

#ifndef __NEWA_PLATFORM_H
#define __NEWA_PLATFORM_H

#include <tchar.h>

namespace newa
{
	typedef TCHAR CharType;

	class PixelFormat
	{
	public:
		typedef unsigned char byte;

		struct Order
		{
			enum { R = 2, G = 1, B = 0 };
		};
		
		enum 
		{	
			BITS_PER_COLOR	= 8,
			BYTES_PER_COLOR = 1,
			BITS_PER_PIXEL  = 32,
			BYTES_PER_PIXEL	= 4,
			PIXEL_ALIGN		= sizeof( int ),
			SPAN_ALIGN		= sizeof( int )
		};
	};
}

#endif
